﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

/// <summary>
///mydata 的摘要说明
/// </summary>
public class mydata
{
	public string ChaXun(string GuaHaoMa)
	{
        using (DataClassesDataContext ds = new DataClassesDataContext())
        {
            var r = (from q in ds.gua
                     where q.guatu == GuaHaoMa.Trim()
                     select q).FirstOrDefault();
            if (r!=null)
            {
                return r.guawen;
            }
            else
            {
                return "找不到！";
            }
        }
	}
}